<?php
function ObtenerNavegador($user_agent) {
     $navegadores = array(
          'Opera' => 'Opera',
          'Mozilla Firefox'=> '(Firebird)|(Firefox)',
          'Galeon' => 'Galeon',
          'Mozilla'=>'Gecko',
          'MyIE'=>'MyIE',
          'Lynx' => 'Lynx',
          'Netscape' => '(Mozilla/4\.75)|(Netscape6)|(Mozilla/4\.08)|(Mozilla/4\.5)|(Mozilla/4\.6)|(Mozilla/4\.79)',
          'Konqueror'=>'Konqueror',
		  'Internet Explorer 8' => '(MSIE 8\.[0-9]+)',
          'Internet Explorer 7' => '(MSIE 7\.[0-9]+)',
          'Internet Explorer 6' => '(MSIE 6\.[0-9]+)',
          'Internet Explorer 5' => '(MSIE 5\.[0-9]+)',
          'Internet Explorer 4' => '(MSIE 4\.[0-9]+)',
);
foreach($navegadores as $navegador=>$pattern){
       if (eregi($pattern, $user_agent))
       return $navegador;
    }
return 'Desconocido';
}
?>
<?php $nave=ObtenerNavegador($_SERVER['HTTP_USER_AGENT']);

$OSList = array 
( 
// Match user agent string with operating systems 
'Windows 3.11' => 'Win16', 
'Windows 95' => '(Windows 95)|(Win95)|(Windows_95)', 
'Windows 98' => '(Windows 98)|(Win98)', 
'Windows 2000' => '(Windows NT 5.0)|(Windows 2000)', 
'Windows XP' => '(Windows NT 5.1)|(Windows XP)', 
'Windows Server 2003' => '(Windows NT 5.2)', 
'Windows Vista' => '(Windows NT 6.0)', 
'Windows 7' => '(Windows NT 7.0)', 
'Windows NT 4.0' => '(Windows NT 4.0)|(WinNT4.0)|(WinNT)|(Windows NT)', 
'Windows ME' => 'Windows ME', 
'Open BSD' => 'OpenBSD', 
'Sun OS' => 'SunOS', 
'Linux' => '(Linux)|(X11)', 
'Mac OS' => '(Mac_PowerPC)|(Macintosh)', 
'QNX' => 'QNX', 
'BeOS' => 'BeOS', 
'OS/2' => 'OS/2', 
'Search Bot'=>'(nuhk)|(Googlebot)|(Yammybot)|(Openbot)|(Slurp)|(MSNBot)|(Ask Jeeves/Teoma)|(ia_archiver)' 
); 
// Loop through the array of user agents and matching operating systems 
foreach($OSList as $CurrOS=>$Match) 
{ 
// Find a match 
if (eregi($Match, $_SERVER['HTTP_USER_AGENT'])) 
{ 
// We found the correct match 
break; 
} 
} 


?>


  <table border="0" width="100%" height="100%" cellpadding="3" cellspacing="0">
   <tr height="90px"><td colspan="3"></td></tr>
   <tr><td></td><td width="900px" height="100px" align="center">
    <? 
    $cronograma =  $html->image('png/boton1.png', array('align'=>'absmiddle','alt' => 'CRONOGRAMA DE ACTIVIDADES', 'title' => 'CRONOGRAMA DE ACTIVIDADES', 'border'=>'0', 'width' => '228', 'height' => '100'));
   echo $cargar->link('',$cronograma,'/cronogramas/cronograma_actividades','header_c');
   
    $micuenta =  $html->image('png/boton2.png', array('align'=>'absmiddle','alt' => 'MI CUENTA ( '.$_SESSION['username'].' )', 'title' => 'MI CUENTA ( '.$_SESSION['username'].' )', 'border'=>'0', 'width' => '228', 'height' => '100'));
   echo $cargar->link('',$micuenta,'/usuarios/mi_cuenta','header_c');
   
  
   ?>
   
   
   
    </td><td></td></tr>
	 <tr><td></td><td width="900px" height="100px" align="center">
<?  
	 $reportecronogramas =  $html->image('png/boton4.png', array('align'=>'absmiddle','alt' => 'REPORTE CRONOGRAMA', 'title' => 'REPORTE CRONOGRAMA', 'border'=>'0', 'width' => '228', 'height' => '100'));
   echo $cargar->link('',$reportecronogramas,'/cronogramas/cronograma_actividades_pdf','header_c');
	  ?>
	  <?  
	 $reportesolicitudes =  $html->image('png/boton5.png', array('align'=>'absmiddle','alt' => 'REPORTE SOLICITUDES', 'title' => 'REPORTE SOLICITUDES', 'border'=>'0', 'width' => '228', 'height' => '100'));
   echo $cargar->link('',$reportesolicitudes,'/solicitudes/reporte_diario','header_c');
	  ?>
	 
   
   
    </td><td></td></tr>
  <tr><td colspan="3"></td></tr>
  </table>
  
     
  </td></tr>
 
   
 
 </table>



 <br /> <br /> <br /> <br />